home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / Developer University / DUProjects / GraphicsBfr / Sources / Part.h < prev    next >
Encoding:
Text File  |  1996-03-29  |  1.2 KB  |  40 lines  |  [TEXT/CWIE]

  1. //    Release Version:    $ ODF 1 $
  2. //    Copyright:            (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. #ifndef PART_H
  5. #define PART_H
  6.  
  7. //=======================================================================
  8. // ----- Framework Includes -----
  9. #ifndef FWPART_H
  10. #include "FWPart.h"            // FW_CPart
  11. #endif
  12.  
  13. //=======================================================================
  14. class FW_CPart;
  15. class FW_CPresentation;
  16.  
  17. //=======================================================================
  18. class CGraphicsBfrPart : public FW_CPart {
  19. public:
  20.     FW_DECLARE_AUTO(CGraphicsBfrPart)
  21.                             CGraphicsBfrPart(ODPart* odPart);
  22.     virtual                 ~CGraphicsBfrPart();
  23. // overrides
  24. protected:
  25.     virtual void             Initialize(Environment* ev);
  26.     virtual FW_CContent*     NewPartContent(Environment* ev);
  27.     virtual FW_CFrame*        NewFrame(Environment* ev,
  28.                                  ODFrame* odFrame,
  29.                                  FW_CPresentation* presentation,
  30.                                  FW_Boolean fromStorage);
  31.     virtual FW_CWindow*        NewDocumentWindow(Environment* ev);
  32.     virtual FW_Boolean        DoMenu(Environment* ev,
  33.                                        const FW_CMenuEvent& theMenuEvent);
  34. private:
  35.     FW_CPresentation*         fPresentation;
  36. };
  37.  
  38. //=======================================================================
  39. #endif
  40.